package com.example.springboot.mybatis.hikaricp.util;

import java.util.List;
import java.util.stream.Collectors;

public class LogMaskingStream {

    public static List<String> maskLogs(List<String> logs) {
        return logs.stream()
                   .map(LogMaskingUtils::maskPhone) // 假设只处理手机号
                   .collect(Collectors.toList());
    }
}
